package NGUYENMINHHIEU.OOP.EXCERCISEDEMO.EX06_OBJECTS;

public class OCTAGON_ENTITY {
    private double Side;
    
    public double getArea(OCTAGON_ENTITY objEntity){
        return (2+4/Math.sqrt(2))*Side*Side;
    }

    /**
     * @return the side
     */
    public double getSide() {
        return Side;
    }

    /**
     * @param side the side to set
     */
    public void setSide(double side) {
        Side = side;
    }        
}
